﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.MsAddrBook
{
    /// <summary>
    /// ADDR_A2（通讯录分组表）
    /// </summary>
    public class MsAddBookDetail
    {
        #region 私有属性
            private string _id;
            private string _userid;
            private string _groupname;
        #endregion
        #region 共有属性
            /// <summary>
            /// ID
            /// </summary>
            public string ID
            {
                set { _id = value; }
                get { return ((!string.IsNullOrEmpty(_id)) ? _id : ""); }
            }
            /// <summary>
            /// 用户ID
            /// </summary>
            public string UserId
            {
                set { _userid = value; }
                get { return ((!string.IsNullOrEmpty(_userid)) ? _userid : ""); }
            }
            /// <summary>
            /// _groupname
            /// </summary>
            public string GroupName
            {
                set { _groupname = value; }
                get { return ((!string.IsNullOrEmpty(_groupname)) ? _groupname : ""); }
            } 
        #endregion
        #region method
            public MsAddBookDetail() { }
            public MsAddBookDetail(string sId,string sUserId,string sGroupName)
            {
                _id = sId;
                _userid = sUserId;
                _groupname = sGroupName;
            }
        #endregion
    }
}
